<%@page pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	    <%@include file="/WEB-INF/jsp/common/common.jsp" %>
	    <style>
	    .tabs-header {
	        border: 1px;
	    }
	    .tabs-panels {
	        border : 1px;
	    }
	    </style>
	    <script>
	    $(function(){
	    	$("#menuTree").tree({
	    		onDblClick : function(node){
	    			$('#tabsDiv').tabs('add',{
	    				title: node.text,
	    				content: '<iframe name="tabs"'+node.id+' height="100%" width="100%" frameborder="0" src="${APP_PATH}'+node.url+'"> </iframe>',
	    				closable: true
	    			});
	    		}
	    	});
	    })
	    </script>
	</head>
	<body class="easyui-layout">
		<div data-options="region:'north',border:false" style="height:96px;background:#B3DFDA;padding:0px">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td width="263" background="images/top_bg.gif"><img src="images/top_01.gif" width="145" height="29" /></td>
			    <td width="1148" height="29" background="images/top_bg.gif" class="top">Welcome,<span class="top_name">${loginUser.username}</span> 今天是2012年04月10日 周二 12:30:45</td>
			  </tr>
			  <tr>
			    <td colspan="2" background="images/banner_bg.gif">
				<table width="100%" height="66" border="0" cellpadding="0" cellspacing="0">
			      <tr>
					<td width="867" align="left"><img src="images/logo.gif" width="348" height="65" /></td>
			        <td width="87" ><img src="images/botton_08.gif" width="87" height="52" /></td>
			        <td width="70"><img src="images/botton_09.gif" width="65" height="52" /></td>
			        <td width="70"><img src="images/botton_10.gif" width="67" height="52" /></td>
			        <td width="126"><img src="images/botton_11.gif" width="63" height="52" /></td>
			      </tr>
			    </table></td>
			  </tr>
			</table>
		</div>
		<div data-options="region:'west',split:true,title:'系统菜单'" style="width:250px;padding:10px;">
            <ul id="menuTree" class="easyui-tree"
                data-options="
                    url:'${APP_PATH}/user/loadMenu1.do',
                    method:'get',
                    animate:true"
             ></ul>
		</div>
		<div data-options="region:'south',border:false" style="height:30px;background:#A9FACD;padding:0px;">
			<table width="100%" height="36" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td background="images/botom_bg.gif" class="font_right"><a href="#">PMES流程管理引擎系统上线啦！</a></td>
			    <td width="10%" align="center" background="images/botom_bg.gif" ><img src="images/arrow.gif" alt="" width="16" height="16" border="0" align="middle"/><a href="#" class="more">更多公告</a></td>
			  </tr>
			</table>
		</div>
		<div id="tabsDiv" class="easyui-tabs" data-options="region:'center'">
			<div title="欢迎页面" data-options="closable:true">
				<table  border="0" cellpadding="0" cellspacing="0" class="table_border">
				<form  method="post"  action="/">
				
				  <tr>
				    <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_right">
				      <tr>
				        <td width="25" height="26" align="right"><img src="images/ico_location.gif" width="16" height="15" /></td>
				        <td><strong>位置：</strong>首页</td>
				      </tr>
				    </table></td>
				  </tr>
				  <tr>
				    <td><table width="100%" height="460" border="0" cellspacing="0">
				      <tr>
				        <td height="462" align="center" background="images/wel_bg.jpg"><img src="images/wel.jpg" width="780" height="462" border="0" /></td>
				      </tr>
				    </table></td>
				  </tr>
				  </form>
				</table>
			</div>
		</div>
	</body>
</html>
